for i = 0:255
    a = sin((2*pi*i)/256)*2048+2048;
    a = floor(a); 
    d = dec2hex(a)
end